package com.softeem.score.model.vo.educational;

import com.softeem.score.model.entity.educational.Grade;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author zhu
 * @since 2024-02-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "GradeVo对象")
public class GradeVo extends Grade {

    @Schema(description = "学号")
    private String studentNumber;

    @Schema(description = "学生姓名")
    private String studentName;

    @Schema(description = "班级名")
    private String teachingClassName;

    @Schema(description = "课程ID")
    private Long courseId;
    @Schema(description = "课程名")
    private String courseName;

    @Schema(description = "教师id")
    private Long teacherId;
    @Schema(description = "教师名")
    private String teacherName;

    @Schema(description = "学年")
    private Integer academicYear;

    @Schema(description = "学期")
    private Integer semester;

    @Schema(description = "成绩详细")
    private List<GradeDetailVo> gradeDetailVoList;

    @Schema(description = "是否需要补考")
    private Integer isMakeupExam;

    @Schema(description = "补考成绩")
    private Float makeupExeamGrade;

}
